<!--商家列表-->
<template>
    <div class="content">
        <div class="content-header">
            <div class="logo">
                <img src="../../assets/img/f-mixue2.png" 
                alt=""/>
            </div>
            <div class="title">
                <span class="content-content_title">蜜雪冰城</span>
            </div>
            <div class="dec">
                <span class="grade">❤4.5</span>
                <span class="dis">755m</span>
            </div>
            <div class="desc">
                <span class="greenborder">便宜又好喝</span>
                <span class="blueborder">宁夏大学</span>
            </div>
        </div>
        <div class="content-header">
            <div class="logo">
                <img src="../../assets/img/f-mixue2.png" 
                alt=""/>
            </div>
            <div class="title">
                <span class="content-content_title">蜜雪冰城</span>
            </div>
            <div class="dec">
                <span class="grade">❤4.5</span>
                <span class="dis">755m</span>
            </div>
            <div class="desc">
                <span class="greenborder">便宜又好喝</span>
                <span class="blueborder">宁夏大学</span>
            </div>
        </div>
     </div>


</template>



<style lang="scss" >
.content{
    // height: 150px;
    overflow-y: scroll;
    &-header{
        box-sizing: border-box;
        width: 100%;
        height: 100px;
        padding: 15px;
        position: relative;
        .logo{
            width: 82px;
            height: 61px;
            img{
                width: 82px;
                height: 61px;
            }
        }
        .image{
            width:35px;
            height: 20px;
            position: absolute;
            top: 15px;
            left: 102px;
            img{
                width: 30px;
                height: 20px;
            }
        }
        .title {
            width: 200px;
            font-size: 16px;
            color: #000;
            position: absolute;
            top:15px;
            left: 115px;
            font-size: 20px;
        }
        .dec{
            width: 260px;
            height: 16px;
            position: absolute;
            top: 20px;
            left: 200px;
            .grade{
                margin-left: 15px ;
                font-size: 14px;
                color: #FF8000;
                font-weight: 600;
                display: inline-block;
            }
            .dis{
                margin-left: 60px ;
                font-size: 12px;
                color: #333;
                font-weight: 600;
                display: inline-block;
            }
        }
        .desc{
            width:200px;
            height: 20px;
            position: absolute;
            top: 55px;
            left: 85px;
            .greenborder{
                margin-left: 30px;
                border: 1px solid rgb(25, 93, 18);
                color: rgb(25, 93, 18);
                font-size: 16px;
            }
            .blueborder{
                margin-left: 10px;
                border: 1px solid rgb(39, 37, 175);
                color: rgb(39, 37, 175);
                font-size: 16px;
            }
        }
    }
}

</style>